Clash of the Lambdas

نویسندگان

  • Aggelos Biboudis
  • Nick Palladinos
  • Yannis Smaragdakis
چکیده

The introduction of lambdas in Java 8 completes the slate of statically-typed, mainstream languages with both object-oriented and functional features. The main motivation for lambdas in Java has been to facilitate stream-based declarative APIs, and, therefore, easier parallelism. In this paper, we evaluate the performance impact of lambda abstraction employed in stream processing, for a variety of high-level languages that run on a virtual machine (C#, F#, Java and Scala) and runtime platforms (JVM on Linux and Windows, .NET CLR for Windows, Mono for Linux). Furthermore, we evaluate the performance gain that two optimizing libraries (ScalaBlitz and LinqOptimizer) can offer for C#, F# and Scala. Our study is based on small-scale throughput-benchmarking, with significant care to isolate different factors, consult experts on the systems involved, and identify causes and opportunities. We find that Java exhibits high implementation maturity, which is a dominant factor in benchmarks. At the same time, optimizing frameworks can be highly effective for common query patterns.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Clash of the Lambdas Through the Lens of Streaming APIs

The introduction of lambdas in Java 8 completes the slate of statically-typed, mainstream languages with both object-oriented and functional features. The main motivation for lambdas in Java has been to facilitate stream-based declarative APIs, and, therefore, easier parallelism. In this paper, we evaluate the performance impact of lambda abstraction employed in stream processing, for a variety...

متن کامل

Sibling familial risk ratio of meningococcal disease in UK Caucasians.

To quantify the host genetic component of meningococcal disease (MD) susceptibility, the sibling risk ratio (lambdaS) was calculated as the ratio of observed MD cases among 845 siblings of 443 UK Caucasian cases to that expected, calculated from age-calendar year specific rates for England and Wales. Twenty-seven siblings contracted MD compared with an expected 0.89, generating a lambdaS value ...

متن کامل

The dynamic changes of interferon lambdas related genes and proteins in JAK/STAT pathway in both acute and chronic HIV-1 infected patients

BACKGROUND Host immune responses during acute HIV-1 infection can influence the viral setpoint, which is a predictor of disease progression. Interferon (IFN)-lambdas are newly classified type III interferons, which use JAK-STAT pathway. Currently, the dynamics of IFN-lambdas related genes and proteins expression in the signaling pathway have not been well elaborated, especially in acute HIV-1-i...

متن کامل

Representation of genetic association via attributable familial relative risks in order to identify polymorphisms functionally relevant to rheumatoid arthritis

The results from association studies are usually summarized by a measure of evidence of association (frequentist or Bayesian probability values) that does not directly reflect the impact of the detected signals on familial aggregation. This article investigates the possible advantage of a two-dimensional representation of genetic association in order to identify polymorphisms relevant to diseas...

متن کامل

Type Class Instances for Type-Level Lambdas in Haskell

Haskell 2010 lacks flexibility in creating instances of type classes for type constructors with multiple type arguments. We would like to make the order of type arguments to a type constructor irrelevant to how type class instances can be specified. None of the currently available techniques in Haskell allows to do this in a satisfactory way. To flexibly create type-class instances we have adde...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • CoRR

دوره abs/1406.6631  شماره 

صفحات  -

تاریخ انتشار 2014